<?php if (!defined('THINK_PATH')) exit();?>
<script language="JavaScript">
<!--
function checkName(){
	ThinkAjax.send('__URL__/checkAccount/','ajax=1&account='+$F('account'));
}
//-->
</script>


<div class="pageContent">
	
	<form method="post" action="__URL__/insert/navTabId/__MODULE__" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">

			<div class="unit">
				<label>登录用户：</label>
                                <input type="text" class="required" size="30" maxlength="20" name="account" value="<?php echo ($vo["account"]); ?>" />&nbsp;&nbsp;登录名称 请注意尽量不要用中文
			</div>
                    <div class="unit">
				<label>用户名称：</label>
				<input type="text" class="required" size="30" name="nickname" value="<?php echo ($vo["nickname"]); ?>">&nbsp;&nbsp;用户中文名称
			</div>
			<div class="unit">
				<label>登录密码：</label>
				<input type="text" name="password" size="30" maxlength="20" class="required "/> &nbsp;&nbsp;用户登录密码
			</div>
			<div class="unit">
				<label>Email：</label>
                                <input type="text" name="email" size="30" maxlength="100" class="required email" value="xxx@qq.com"/>&nbsp;&nbsp;邮箱地址
			</div>
			<div class="unit">
				<label>用户状态：</label> &nbsp;&nbsp;用户登录状态，禁止后不能登录
				<select name="status">
					<option value="1">启用</option>
					<option value="0">禁用</option>
				</select>
			</div>
			
			<div class="unit">
				<label>用户备注：</label> 
				<textarea name="remark" rows="3" cols="57">必要的用户备注</textarea>
			</div>
			
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>